<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<head>
<meta charset="UTF-8">
<title>jquery移动端数字键盘插件</title>
<link href="jquery.numKeyboard.css" rel="stylesheet">
<script type="text/javascript" src="jquery-2.1.3.min.js"></script>
<script type="text/javascript" src="jquery.numKeyboard.js"></script>
<script type="text/javascript">
	$(function(){
		var defaluts = {
		        max: 10000*10000,//最大值 默认1亿
		        allowDecimals:true,//允许输入小数true/false 默认true 允许
		        placeholder:"请输入数字",//提示占位符
		        digits:2//可输入几位小数
		    };
		//以上为可选设置
		var num = $("#price").numberKey();
	})
</script>
</head>
<body>
	<input type="text" id="price" name="price" value="" placeholder="请输入金额"/>
</body>
</html>